package com.love.cloud.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.love.cloud.admin.api.entity.SysUserDept;
import com.love.cloud.admin.dto.SysUserDeptDto;
import com.love.cloud.common.mybatis.mapper.MyBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author hongdongqu
 */
@Mapper
public interface SysUserDeptMapper extends MyBaseMapper<SysUserDept> {
    /**
     * 获取到协同系统用户部门信息
     * @return
     */
    List<SysUserDeptDto> getUserDeptList(@Param(Constants.WRAPPER) Wrapper wrapper);
}
